convert html to pdf c#

87

convert html to pdf c# -

var htmlContent = String.Format("<body>Hello world: {0}</body>", DateTime.Now);
var pdfBytes = (new NReco.PdfGenerator.HtmlToPdfConverter()).GeneratePdf(htmlContent);
//https://www.nrecosite.com/doc/NReco.PdfGenerator/

Comments

Submit
0 Comments